The phrase "to build the pyramids" means to create or construct large and impressive structures, similar to the ancient pyramids of Egypt.